$("#frm_pelanggan").validate({
	errorPlacement: function(error, element) {
		element.parent().after(error); 
	}, 
	rules: {
		nama:{required:true},
		telp:{required:true},
		contact_person:{required:true},
		hp:{required:true},
	},
	messages: {
		nama: "Nama harus diisi.",
		telp: "Telepon harus diisi.",
		contact_person: "Contact Person harus diisi.",
		hp: "No Handphone harus diisi.",
	}
});